import NProgress from 'nprogress'
import 'nprogress/nprogress.css'

// 打开进度条
export const loadingStart = (): void => {
  NProgress.start()
}

// 关闭进度条
export const loadingClose = (): void => {
  NProgress.done()
}